package com.penergy.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Role entity. @author MyEclipse Persistence Tools
 */

public class Role implements java.io.Serializable {

	// Fields

	private Integer id;
	private String code;
	private String name;
	private String dirs;
	private Integer level;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDirs() {
		return dirs;
	}
	public void setDirs(String dirs) {
		this.dirs = dirs;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Role(Integer id, String code, String name, String dirs, Integer level) {
		super();
		this.id = id;
		this.code = code;
		this.name = name;
		this.dirs = dirs;
		this.level = level;
	}
	public Role() {
		super();
		// TODO Auto-generated constructor stub
	}



}